<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 1.引入vue文件 -->
    <script src="./vue.js"></script>
</head>
<body>
    <!-- 2.进行挂载 -->
    <div id="app">
        <a v-bind:href="info.href">{{ info.name }}</a>
    </div>
</body>
    <script>
        // 实例化对象
        new Vue({
            el:"#app",
            data:{
                info:{
                    href:"https://www.weibo.com/",
                    name:"微博"
                }
            }
        })
    </script>
</html>